package entity;

public class Address {
    private Integer id;
    private String city;

    public Address() {
    }

    public Address(Integer id, String city) {
        this.id = id;
        this.city = city;
    }

    /**
     * 获取
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     * @return city
     */
    public String getCity() {
        return city;
    }

    /**
     * 设置
     * @param city
     */
    public void setCity(String city) {
        this.city = city;
    }

    public String toString() {
        return "Address{id = " + id + ", city = " + city + "}";
    }
}





